#-------------------------------------------------------------------------------
# Name:        mock_mappanalysis
# Purpose:     Mock module for mappanalysis module.
#
# Author:      Bc. Onrej Pelikan
#
# Created:     26.03.2013
#-------------------------------------------------------------------------------
import mappanalysis


class MappException(mappanalysis.MappException):
    pass

class ProgramVariables(mappanalysis.ProgramVariables):
    pass

def runPrograms(progVariables):

    mappout = (open("cgi-bin/mock_mapp.xls")).read()

    return mappanalysis.processMappOutput(progVariables.mutations, mappout)